<template>
  <view class="sk-container">
    <scroll-view enhanced="true" scroll-with-animation="true" scroll-y="true" class="viewport" id="scrollView"
      enable-back-to-top="true">
      <view is="node-modules/@dcloudio/uni-ui/lib/uni-icons/uni-icons" class="backIcons">
        <text class="uni-icons icons--uni-icons uniui-back icons--uniui-back sk-pseudo sk-pseudo-circle"
          style="color:#333333;font-size:30px"></text>
      </view>
      <view class="goods anchor" data-anchor-index="0" style="scroll-snap-align: none;">
        <view class="preview">
          <swiper circular="true" current="0" autoplay="false">
            <swiper-item
              style="position: absolute; width: 100%; height: 100%; transform: translate(0%, 0px) translateZ(0px);">
              <image class="sk-image"></image>
            </swiper-item>
          </swiper>
          <view class="indicator">
            <text class="current sk-transparent sk-opacity">1</text>
            <text class="split sk-transparent sk-opacity">/</text>
            <text class="total"></text>
          </view>
        </view>
        <view class="meta">
          <view class="price">
            <text class="symbol sk-transparent sk-opacity">¥</text>
            <text class="number sk-transparent sk-text-18-7500-248 sk-text">5</text>
            <text class="decimal sk-transparent sk-text-18-7500-865 sk-text">.79</text>
          </view>
          <view class="brand">
            <image class="sk-image"></image>
          </view>
          <view class="name ellipsis sk-transparent sk-text-14-2857-807 sk-text">
            https://yanxuan-item.nosdn.127.net/f6ddd429632de6170900dc2fbc541fd8.png?type=webp&amp;imageView&amp;thumbnail=78x78&amp;quality=95
          </view>
          <view class="remarks sk-transparent sk-text-0-0000-913 sk-text">舒适条纹，纯棉凉爽无袖连体衣59-90cm</view>
        </view>
        <view class="related">
          <view class="item arrow sk-pseudo sk-pseudo-circle">
            <text class="label sk-transparent sk-text-18-7500-450 sk-text">选择</text>
            <text class="text ellipsis sk-transparent sk-text-18-7500-737 sk-text">个性条纹元素，趣味小象图案，3色可选app</text>
          </view>
          <view class="item arrow sk-pseudo sk-pseudo-circle">
            <text class="label sk-transparent sk-text-18-7500-708 sk-text">送至</text>
            <text class="text ellipsis sk-transparent sk-text-18-7500-428 sk-text">e2</text>
          </view>
          <view class="item arrow sk-pseudo sk-pseudo-circle">
            <text class="label sk-transparent sk-text-18-7500-619 sk-text">服务</text>
            <text class="text ellipsis sk-transparent sk-text-18-7500-154 sk-text">无忧退 快速退款 免费包邮</text>
          </view>
        </view>
      </view>
    </scroll-view>
    <view class="toolbar">
      <view class="icons">
        <button class="collect sk-transparent sk-button sk-pseudo sk-pseudo-circle">
          <text class="icon-heart sk-pseudo sk-pseudo-circle"></text>收藏</button>
        <button class="contact sk-transparent sk-button sk-pseudo sk-pseudo-circle" open-type="contact">
          <text class="icon-handset sk-pseudo sk-pseudo-circle"></text>客服 </button>
        <button class="cart sk-transparent sk-button sk-pseudo sk-pseudo-circle">
          <text class="icon-cart sk-pseudo sk-pseudo-circle"></text>购物车 </button>
      </view>
      <view class="buttons">
        <view class="addcart sk-transparent sk-text-31-9444-259 sk-text" data-button-type="cart"
          style="background-position-x: 50%;"> 加入购物车 </view>
        <view class="payment sk-transparent sk-text-31-9444-359 sk-text" data-button-type="payment"
          style="background-position-x: 50%;"> 立即购买 </view>
      </view>
    </view>
  </view>
</template>

<style lang="scss">
/*
此文件为开发者工具生成，生成时间: 2023/4/22下午7:43:21

在 C:\qdxi\uniapp\EUAT\erabbit-uni-app-typescript\dist\dev\mp-weixin\pages\goods\index.wxss 中引入样式
```
@import "./index.skeleton.wxss";
```

更多详细信息可以参考文档：https://developers.weixin.qq.com/miniprogram/dev/devtools/skeleton.html
*/
.sk-transparent {
  color: transparent !important;
}

.sk-opacity {
  opacity: 0 !important;
}

.sk-text-18-7500-248 {
  background-image: linear-gradient(transparent 18.7500%, #EEEEEE 0%, #EEEEEE 81.2500%, transparent 0%) !important;
  background-size: 100% 89.6000rpx;
  position: relative !important;
}

.sk-text {
  background-origin: content-box !important;
  background-clip: content-box !important;
  background-color: transparent !important;
  color: transparent !important;
  background-repeat: repeat-y !important;
}

.sk-text-18-7500-865 {
  background-image: linear-gradient(transparent 18.7500%, #EEEEEE 0%, #EEEEEE 81.2500%, transparent 0%) !important;
  background-size: 100% 54.4000rpx;
  position: relative !important;
}

.sk-text-14-2857-807 {
  background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
  background-size: 100% 44.8000rpx;
  position: relative !important;
}

.sk-text-0-0000-913 {
  background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
  background-size: 100% 24.0000rpx;
  position: relative !important;
}

.sk-text-18-7500-450 {
  background-image: linear-gradient(transparent 18.7500%, #EEEEEE 0%, #EEEEEE 81.2500%, transparent 0%) !important;
  background-size: 100% 41.6000rpx;
  position: relative !important;
}

.sk-text-18-7500-737 {
  background-image: linear-gradient(transparent 18.7500%, #EEEEEE 0%, #EEEEEE 81.2500%, transparent 0%) !important;
  background-size: 100% 41.6000rpx;
  position: relative !important;
}

.sk-text-18-7500-708 {
  background-image: linear-gradient(transparent 18.7500%, #EEEEEE 0%, #EEEEEE 81.2500%, transparent 0%) !important;
  background-size: 100% 41.6000rpx;
  position: relative !important;
}

.sk-text-18-7500-428 {
  background-image: linear-gradient(transparent 18.7500%, #EEEEEE 0%, #EEEEEE 81.2500%, transparent 0%) !important;
  background-size: 100% 41.6000rpx;
  position: relative !important;
}

.sk-text-18-7500-619 {
  background-image: linear-gradient(transparent 18.7500%, #EEEEEE 0%, #EEEEEE 81.2500%, transparent 0%) !important;
  background-size: 100% 41.6000rpx;
  position: relative !important;
}

.sk-text-18-7500-154 {
  background-image: linear-gradient(transparent 18.7500%, #EEEEEE 0%, #EEEEEE 81.2500%, transparent 0%) !important;
  background-size: 100% 41.6000rpx;
  position: relative !important;
}

.sk-text-31-9444-259 {
  background-image: linear-gradient(transparent 31.9444%, #EEEEEE 0%, #EEEEEE 68.0556%, transparent 0%) !important;
  background-size: 100% 72.0000rpx;
  position: relative !important;
}

.sk-text-31-9444-359 {
  background-image: linear-gradient(transparent 31.9444%, #EEEEEE 0%, #EEEEEE 68.0556%, transparent 0%) !important;
  background-size: 100% 72.0000rpx;
  position: relative !important;
}

.sk-button {
  color: #EFEFEF !important;
  background: #EFEFEF !important;
  border: none !important;
  box-shadow: none !important;
}

.sk-image {
  background: #EFEFEF !important;
}

.sk-pseudo::before,
.sk-pseudo::after {
  background: #EFEFEF !important;
  background-image: none !important;
  color: transparent !important;
  border-color: transparent !important;
}

.sk-pseudo-rect::before,
.sk-pseudo-rect::after {
  border-radius: 0 !important;
}

.sk-pseudo-circle::before,
.sk-pseudo-circle::after {
  border-radius: 50% !important;
}

.sk-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: transparent;
}
</style>
